﻿<Window x:Class="WPF_DbCenter.SqlServer.SqlServerIDE"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Sql server" Height="366" Width="898" xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid" Background="{DynamicResource MainWindowBackgroundBrush}">
    <Grid>
        <TabControl Name="tabControl1" SelectedIndex="0">
            <TabItem Header="IDE">
                <DockPanel>
                    <StackPanel DockPanel.Dock="Top" Height="50" Width="804" >
                        <Button Height="41" Margin="10,4,0,0" HorizontalAlignment="Left" Name="butQuery" DockPanel.Dock="Top" Width="93">Query</Button>
                        <TextBox Width="513" Height="41" Margin="120,-40,0,0" HorizontalAlignment="Left" Name="txtQuery" DockPanel.Dock="Top" ></TextBox>
                    </StackPanel>
                   
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="3*"/>
                        </Grid.ColumnDefinitions>
                        <StackPanel Name="LeftPanel">
                            
                            <TreeView Margin="17,18,17,18" Name="treeView1" Height="213" Width="143" />
                        </StackPanel>
                        <GridSplitter Grid.Column="1" HorizontalAlignment="Center" Width="6"/>
                        <StackPanel Name="RightPanel" Grid.Column="2">
                            <xcdg:DataGridControl Height="221" Name="dataGridControl1" ToolTip="Data preview region" Width="430" />
                        </StackPanel>

                    </Grid>
                </DockPanel>
            </TabItem>
            <TabItem Header="Tools">
                <Grid>
                    <StackPanel>
                        <Button Name="syncInSqlServer" Content="Sync data between sql server " Click="syncInSqlServer_Click"></Button>
                    </StackPanel>
                </Grid>
            </TabItem>
            <TabItem Header="Help"></TabItem>
        </TabControl>
    </Grid>
</Window>
